package com.choosefine.it.team.model.vo;


import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

public class FinancialSumVO implements Serializable{
	
	private static final long serialVersionUID = -6833384572454698678L;
	
	@ApiModelProperty(value="自有材料、设备、设施数量",dataType="int")
	private int ownerEquipmentCount;
	
	@ApiModelProperty(value="设备已付总价",dataType="BigDecimal")
	private BigDecimal paid ;
	@ApiModelProperty(value="设备应付总价",dataType="BigDecimal")
	private BigDecimal payable ;
	
	@ApiModelProperty(value="设备供应商数量",dataType="int")
	private int supplierCount;
	@ApiModelProperty(value="班组数量",dataType="int")
	private int teamCount;
	
	@ApiModelProperty(value="工人数量",dataType="int")
	private int workerCount;
	@ApiModelProperty(value="总工时数量",dataType="BigDecimal")
	private BigDecimal workTimeSum;
	
	public BigDecimal getPaid() {
		return paid == null ? new BigDecimal(0).setScale(2) :paid;
	}
	public void setPaid(BigDecimal paid) {
		this.paid = paid == null ? new BigDecimal(0).setScale(2) :paid;
	}
	public BigDecimal getPayable() {
		return payable == null ? new BigDecimal(0).setScale(2) :payable;
	}
	public void setPayable(BigDecimal payable) {
		this.payable = payable  == null ? new BigDecimal(0).setScale(2) :payable;
	}
	public int getSupplierCount() {
		return supplierCount;
	}
	public void setSupplierCount(int supplierCount) {
		this.supplierCount = supplierCount;
	}
	public int getOwnerEquipmentCount() {
		return ownerEquipmentCount;
	}
	public void setOwnerEquipmentCount(int ownerEquipmentCount) {
		this.ownerEquipmentCount = ownerEquipmentCount;
	}
	public int getWorkerCount() {
		return workerCount;
	}
	public void setWorkerCount(int workerCount) {
		this.workerCount = workerCount;
	}
	public BigDecimal getWorkTimeSum() {
		return workTimeSum  == null ? new BigDecimal(0).setScale(2) :workTimeSum;
	}
	public void setWorkTimeSum(BigDecimal workTimeSum) {
		this.workTimeSum = workTimeSum  == null ? new BigDecimal(0).setScale(2) :workTimeSum;
	}
	public int getTeamCount() {
		return teamCount;
	}
	public void setTeamCount(int teamCount) {
		this.teamCount = teamCount;
	}
}